#ifndef OPTIONS_H
#define OPTIONS_H

#include <QDialog>
#include <QtGui>

namespace Ui {
    class Options;
}

class Options : public QDialog
{
    Q_OBJECT

public:
    explicit Options(QWidget *parent = 0);
    ~Options();

    bool getLoadSettingsFileAtStartup();
    QString getSettingsFilename();

public slots:

private:
    Ui::Options *ui;

    QCheckBox *ui_checkSettingsFile;
    QLineEdit *ui_settingsFilename;
    QPushButton *ui_buttonBrowseSettingsFilename;

private slots:
    void on_checkSettingsFile_stateChanged();
    void on_settingsFilename_editingFinished();
    void on_buttonBrowseSettingsFilename_clicked();
    void accept();
};

struct DFoptions {
    bool loadSettingsFileAtStartup;
    QString settingsFilename;
};

#endif // OPTIONS_H
